package com.jialanmo.zhihudaily.ui.main;

import com.jialanmo.helper.mvp.BasePresenter;
import com.jialanmo.helper.mvp.BaseView;
import com.jialanmo.zhihudaily.data.model.Daily;
import com.jialanmo.zhihudaily.data.model.Themes;

public interface MainContract {
    interface ActivityView extends BaseView {
        void showThemes(Themes themes);
    }

    interface FragmentView extends BaseView {
        void showLatest(Daily daily);

        void showBefore(Daily daily);

        void setRefreshing(boolean refreshing);
    }

    interface ActivityPresenter extends BasePresenter {
        void getThemes();
    }

    interface FragmentPresenter extends BasePresenter {
        void getLatest();

        void getBefore(int page);
    }
}
